package com.jdrx.sw.sewage.beans.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@ApiModel(value = "ReportAnalysisVO", description = "站点数据分析")
@Data
public class ReportAnalysisVO implements Serializable {
    private static final long serialVersionUID = -1206960462117924923L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "创建时间(日)")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss.SSS", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建时间(月)")
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private String mCreateTime;

    @ApiModelProperty(value = "创建时间（年）")
//    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    private String yCreateTime;

    @ApiModelProperty(value = "值")
    private Double value;

    @ApiModelProperty(value = "进出水（1-进水 2-出水 3-能耗量）")
    private Integer inOrOut;
}